package com.fortune.dto.in.productCategory;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 
 * @author ran
 *
 */
public class PProduceCategoryEditDto {
	@NotBlank(message="商品分类ID不能为空")
	@ApiModelProperty(required=true, example="商品分类ID")
	private String id;
	@NotBlank(message="商品分类名称不能为空")
	@ApiModelProperty(required=true, example="商品分类名称")
	private String name;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "PProduceCategoryEditDto{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				'}';
	}
}
